package interfaces;

import java.util.*;
import java.rmi.*;

/*
  Cette interface met en place les differentes fonctions qui seront utilisees 
  pour les operations sur les messages.
  Il s'agit exclusivement de methodes de get/set.
*/
public interface MessageITF extends Remote {

	public void setID(int id) throws RemoteException;
	public int getID() throws RemoteException;
	public void setText(String text) throws RemoteException;
	public String getText() throws RemoteException;
	public void addHaveSeen(ClientITF client) throws RemoteException;
	public Vector getHaveSeen() throws RemoteException;
	public void setIdClient(int capacity) throws RemoteException;
	public int getIdClient() throws RemoteException;

}
